package org.huatek.anders.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author anders
 * @date 2018-12-05 14:00
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_user_wechat")
public class WechatUserEntity extends BaseEntity {

    private static final long serialVersionUID = 51924634271357172L;

    private Long userId;
    private String openid;
    private String nickname;
    private int sex;
    private String province;
    private String city;
    private String country;
    @JsonProperty("headimgurl")
    private String avator;
    private String unionid;
}
